#ifndef _font_h_
#define _font_h_

#include <sdl/sdl.h>

using namespace std;

class Font {
    private:
        SDL_Surface *mSurface;
        int mCharW,mCharH;
    public:
        Font(char*);
        ~Font();
        void load(char*);
        void drawChar(int,int,unsigned char);
        void drawText(int,int,char*);
        void setTransparent(int);
};

extern Font *g_StdFont;

void SetStdFont(Font*);
void DrawText(int,int,char*);
void DrawChar(int,int,unsigned char);

#endif
